package com.own.business.system.parameter.base.frame.common.exception;

import com.own.base.BaseResponseCode;
import com.own.business.system.parameter.base.frame.common.em.ParameterExceptionEnum;
import com.own.component.common.exception.BusinessException;

/**
 * ParameterException
 *
 * @author chenxueli
 * @date 2023-06-29 09:40:50
 */
public class ParameterException extends BusinessException {

    public ParameterException() {
        super(ParameterExceptionEnum.DEFAULT);
    }

    public ParameterException(String message) {
        super(ParameterExceptionEnum.DEFAULT.code(), message);
    }

    public ParameterException(String code, String message) {
        super(code, message);
    }

    public ParameterException(BaseResponseCode responseCode) {
        super(responseCode);
    }

    public ParameterException(BaseResponseCode responseCode, Object... args) {
        super(responseCode, args);
    }

}
